package com.nursery.student.service;

import java.util.List;
import java.util.Map;

import com.nursery.student.entity.StudentInfo;
import com.nursery.student.entity.StudentInfoExample;

public interface StudentInfoService {

	/**
	 * 登录
	 * 
	 * @param cardNo
	 *            证件编号
	 * @param password
	 *            密码
	 * @return
	 */
	Map<String, String> login(String cardNo, String password);
	
	List<StudentInfo> selectByExample(StudentInfoExample example);
	
	void add(StudentInfo studentInfo) throws Exception;
	
	StudentInfo selectById(Integer id);
	
	void updateByPrimaryKeySelective(StudentInfo record) throws Exception;
	
	void deleteByPrimaryKey(Integer id) throws Exception;
}
